package com.cj.servcie.impl;

import com.cj.dao.AdminDao;
import com.cj.dao.impl.AdminDaoImpl;
import com.cj.entity.Admin;
import com.cj.servcie.AdminService;

/**
 * @Author：weiwei
 * @name：AdminServiceImpl
 * @Date：2024/9/24 20:14
 */
public class AdminServiceImpl implements AdminService {

    private AdminDao adminDao = new AdminDaoImpl();


    @Override
    public Admin login(String account, String password) {
        return adminDao.login(account, password);
    }
}
